﻿using CHSystemApi.Framework.Base;
using CHSystemApi.DataAccess.DTO;
using CHSystemApi.Framework.AuthServices;

namespace CHSystemApi.Business
{
    public interface IUserBusiness : IValidate
    {
        string Login(LoginDtoIn dto);

        RegisterDtoOut Register(RegisterDtoIn dto);

        RegisterDtoIn SendCode(SendCodeDtoIn dto);

        bool Logout();

        UserDtoOut GetInfo(string name, string tel);
    }
}
